package com.example.demoyyy.JieKouService;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demoyyy.ShiTiYYY.Orders;

public interface OrderServiceJieKou extends IService<Orders> {
    /**
     * 用户下单
     * @param orders
     */
    public void submit(Orders orders);

    /**
     * 订单派送
     * @param id 订单ID
     */
    public void deliveryOrder(Long id);

    /**
     * 完成订单
     * @param id 订单ID
     */
    public void completeOrder(Long id);

    /**
     * 取消订单
     * @param id 订单ID
     */
    public void cancelOrder(Long id);

    void reorder(Long orderId);
}